package model.Shapes 
{
	import model.ArrayBuilder;
	import model.Point;
	/**
	 * ...
	 * @author Yang Wang
	 */
	public class ShapeI extends TetrisShape
	{
		
		public function ShapeI() 
		{
			m_color = 0x6396FC ; //CYAN
			
			var ab:ArrayBuilder = new ArrayBuilder();
			
			m_states = new Array();
			m_states[0] = ab.build2DArray(4, 4);
			m_states[1] = ab.build2DArray(4, 4);
			m_states[2] = ab.build2DArray(4, 4);
			m_states[3] = ab.build2DArray(4, 4);

			m_states[0][0][2] = true;
			m_states[0][1][2] = true;
			m_states[0][2][2] = true;
			m_states[0][3][2] = true;
			
			m_states[1][2][0] = true;
			m_states[1][2][1] = true;
			m_states[1][2][2] = true;
			m_states[1][2][3] = true;
			
			m_states[2][0][1] = true;
			m_states[2][1][1] = true;
			m_states[2][2][1] = true;
			m_states[2][3][1] = true;
			
			m_states[3][1][0] = true;
			m_states[3][1][1] = true;
			m_states[3][1][2] = true;
			m_states[3][1][3] = true;

		}
				
	}

}